package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    //根据openid查找该员工数据
    @Select("select *from user where openid=#{openid}")
    User getUser(String openid);


    //根据id进行新增
    void addUser(User user);
}
